//
//  UIColor+FGTool.h
//  Pods
//
//  Created by Henry on 2021/5/6.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (FGTool)

+ (UIColor *)fg_fromShortHexValue:(NSUInteger)hex;
+ (UIColor *)fg_fromShortHexValue:(NSUInteger)hex alpha:(CGFloat)alpha;

+ (UIColor *)fg_fromHexValue:(NSUInteger)hex;
+ (UIColor *)fg_fromHexValue:(NSUInteger)hex alpha:(CGFloat)alpha;

+ (UIColor *)fg_colorWithString:(NSString *)string;

+ (UIColor *)fg_colorWitFGex:(long)hex;
+ (UIColor *)fg_colorWithIntegerRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha;

+ (UIColor *)fg_colorWithLightColor:(UIColor *)lightColor darkColor:(UIColor *)darkColor;

/// 常用颜色
+ (UIColor *)fg_whiteColor;
+ (UIColor *)fg_blockColor;

@end

NS_ASSUME_NONNULL_END
